Optimal. Leaf size=51 \[ -\frac {x^{-1+m} \sqrt {a+b x^2} \, _2F_1\left (1,\frac {m}{2};\frac {1+m}{2};-\frac {b x^2}{a}\right )}{a (1-m)} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 66, normalized size of antiderivative = 1.29, number of steps
used = 2, number of rules used = 2, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.118, Rules used = {372, 371}
\begin {gather*} -\frac {x^{m-1} \sqrt {\frac {b x^2}{a}+1} \, _2F_1\left (\frac {1}{2},\frac {m-1}{2};\frac {m+1}{2};-\frac {b x^2}{a}\right )}{(1-m) \sqrt {a+b x^2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 371
Rule 372
Rubi steps
\begin {align*} \int \frac {x^{-2+m}}{\sqrt {a+b x^2}} \, dx &=\frac {\sqrt {1+\frac {b x^2}{a}} \int \frac {x^{-2+m}}{\sqrt {1+\frac {b x^2}{a}}} \, dx}{\sqrt {a+b x^2}}\\ &=-\frac {x^{-1+m} \sqrt {1+\frac {b x^2}{a}} \, _2F_1\left (\frac {1}{2},\frac {1}{2} (-1+m);\frac {1+m}{2};-\frac {b x^2}{a}\right )}{(1-m) \sqrt {a+b x^2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.17, size = 65, normalized size = 1.27 \begin {gather*} \frac {x^{-1+m} \sqrt {1+\frac {b x^2}{a}} \, _2F_1\left (\frac {1}{2},\frac {1}{2} (-1+m);1+\frac {1}{2} (-1+m);-\frac {b x^2}{a}\right )}{(-1+m) \sqrt {a+b x^2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.01, size = 0, normalized size = 0.00 \[\int \frac {x^{-2+m}}{\sqrt {b \,x^{2}+a}}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [C] Result contains complex when optimal does not.
time = 4.14, size = 53, normalized size = 1.04 \begin {gather*} \frac {x^{m} \Gamma \left (\frac {m}{2} - \frac {1}{2}\right ) {{}_{2}F_{1}\left (\begin {matrix} \frac {1}{2}, \frac {m}{2} - \frac {1}{2} \\ \frac {m}{2} + \frac {1}{2} \end {matrix}\middle | {\frac {b x^{2} e^{i \pi }}{a}} \right )}}{2 \sqrt {a} x \Gamma \left (\frac {m}{2} + \frac {1}{2}\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int \frac {x^{m-2}}{\sqrt {b\,x^2+a}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________